DOORS Crash

Hi

I'm having a problem with a module. I'm trying to delete links from one module to another but when you right click on the clause to look at properties it totally crashes DOORS.

I have tried several times, using my account and admin account but it always does it.

I have tried other objects in the same module and it doesn't crash.

can anyone help? not sure what to do now?

thanks


doorsuser77 - Mon Jan 07 10:57:52 EST 2019

Re: DOORS Crash
llandale - Wed Mar 06 02:16:32 EST 2019

Write a DXL that touches all the in and out links of this object as well as retrieve every value of every object-attribute for that object.  Get its "identifier", "level", and "number".  If that aborts then you have a corrupted object; call Ghost Busters.  I think they will want an archive of the module and will send back an uncorrupted one.

If that does not crash, my guess is you have a bad corrupted link; such as a link to a newly created object that was not saved in a module that is now purged.  I also guess that you can write a DXL to find such corrupted links and delete them.  That DXL MUST run as the Administrator.
Open module Edit

For every object; for every outgoing link

Get created on and by of the link.

Get the link module

Get the target module and open it

Get the target object and get its create on and by values.

If any of that fails then you have a corrupted link and should delete it.

flushDeletions

save source.

You will want to decide whether a link associated with a deleted source or target object or a deleted source or target module counts as "corrupted".  I'd say not, but it is an "illegal" link.

Again, that DXL must be run as the Administrator; otherwise you may think a link is corrupt but really you don't have "R" access to the target object.

-Louie